<template>
    <div class="latest-music">
        <ul>
            <slot></slot>
        </ul>
    </div>
</template>

<script>
    export default {
        data () {
            return {}
        },

        methods: {},

        components: {},
    }
</script>

<style scoped>
    .latest-music>ul>li{
        border-bottom: 1px solid rgb(226, 226, 226);
        padding:5px 10px;
        position: relative;
    }
    .songTitle{
        display: flex;
        font-size: 15px;
        margin-bottom: 5px;
        width: 90%;
    }
    .songTitle>p{

        color: #333;
    }
    .songTitle>span{
        flex: 1;
        color: gray;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .singer{
        font-size: 13px;
        color: gray;
    }

    .play-icon{
        width: 22px;
        height: 22px;
        background: url(../../assets/img/index_icon_2x.png);
        background-size: 166px 97px;
        background-position: -24px 0;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .songImg{
        width: 40px;
        height:40px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 10px;
        display: inline-block;
        vertical-align: middle;
    }

    .songImg>img{
        width:100%
    }
    .songInfo{
        display: inline-block;
        vertical-align: middle;
        width: 75%;
    }
</style>